// any 类型 = 万能类型 + 放弃类型检查
const myArray: any[] = [1, "hello", true];

// unknown 类型 = 万能类型 + 保留类型检查
// unknown 可以配合类型断言 as 慢慢补全所需的类型
function myFunc(param: unknown) {
    (param as unknown[]).forEach((element) => {
        element = (element as number) + 1;
    });
}
  